package  ${package}.${bottomName}.${daoName};

import ${package}.${bottomName}.${entityName}.${className}Entity;
import ${package}.${bottomName}.dto.resp.${className}Resp;
import ${package}.${bottomName}.dto.req.${className}QueryReq;
import com.xiangxiang.common.mybatis.common.SuperMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
* ${classname}服务接口
* ${comments}
* @author ${author}
* @date ${datetime}
* 邮箱=-> ${email}
*/
@Mapper
public interface ${className}Mapper extends SuperMapper<${className}Entity> {

    /**
    * 分页查询
    * @param entity 查询入参
    * @return 返回列表
    */
    List<${className}Resp> page(@Param("page") IPage<${className}Resp> page,@Param("req") ${className}QueryReq entity);

    /**
    * 查询列表
    * @param entity 查询入参
    * @return 返回列表
    */
    List<${className}Resp> list(@Param("req") ${className}QueryReq entity);

     /**
     * 查看详情
     * @param id 查询入参
     * @return 返回结果
     */
     ${className}Resp view(${pk.attrType} id);

}